using IQIGame.Onigao.Game;

namespace IQIGame.Onigao.GamePlay
{
    public class LevelEntityView : Entity
    {
        public override void OnPutBackToPool()
        {
            base.OnPutBackToPool();
#if UNITY_EDITOR
            if (gameObject != null)
            {
                gameObject.name = $"[pooled]{System.IO.Path.GetFileNameWithoutExtension(AssetName)}";
            }
#endif
        }
    }
}
